perilousness of situation

Translations
опасность ситуации
He was unaware of the perilousness of situation he had put himself in.
Он не подозревал об опасности ситуации, в которую попал.